public class Demo03 {

    public static void main(String[] args) {
          BuyTicket bt=new BuyTicket();


          for (int i=0;i<5;i++){
              Thread t=new Thread(bt);
              t.start();
          }
    }
}
